﻿@model IdentityExample.Models.FavoriteMoviesViewModel
@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<table class="table table-bordered table-striped">
    <tr>
        <td>Title</td>
        <td>Rating</td>
    </tr>

    @foreach (var movie in Model.Movies)
    {
        <tr>
            <td>@movie.Title</td>
            <td>@movie.RatingName</td>
        </tr>
    }
</table>

